<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <script src="./js/js.js"> </script>
</head>

<body>

    <button onclick="alert('点击');">点我</button>

    <a href="javascript:alert('dian');">点击</a>
    <a href="javascript:;">点击</a>
</body>

</html>